ACFWF\Models\BOGO\Frontend B

Total Complexity 76
Dependencies 5
Dependents 1
Total lines 594
Lines of code 237
Logical lines of code 156
Comment lines 236
Methods 14
Properties 6

Methods 14

Method Rating Maintainability Complexity Lines of code
_add_notice_for_eligible_deals()
A
50 13 24
_run_implementation()
A
48 12 34
display_bogo_discount_summary()
A
48 11 28
_set_matching_cart_item_deals_prices()
A
46 7 39
implement_bogo_deals()
S
56 6 19
display_discounted_price()
S
57 5 14
restrict_cart_to_only_one_bogo_deal()
S
60 4 14
save_bogo_discounts_to_order()
S
56 3 17
_is_display_notice()
S
69 4 6
_remove_eligible_for_deals_notices()
S
61 3 12
_display_eligible_deal_notices()
S
66 3 8
get_instance()
S
70 2 6
run()
S
62 2 10
__construct()
S
70 1 6